package org.shoukaiseki.test.graphql.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import org.shoukaiseki.test.graphql.bean.User;

import java.util.List;

@Mapper
public interface UserMapper{
	
	/**
	 * Check the user
	 */
//	 @Select("select * from user where id=#{id}")
	public User getUser(@Param("id") int id);


	 public List<User> getList(User user);
}
